package com.google.code.gwtquickstartplugin;

/**
 * Description of a servlet as found in a <code>web.xml</code> file.
 *
 * @author Carlos D. Morales
 */
public class ServletDescription implements Servlet{
    private String name;

    private String className;

    private String urlPattern;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    public String getUrl() {
        return getUrlPattern();
    }
}
